package bigmath;

import java.time.LocalTime;

public class LocalTimeDemo {
    public static void main(String[] args) {
        //localTime只有时间没有日期
        LocalTime t1 = LocalTime.now();
        System.out.println(t1);
        //指定时间
        LocalTime t2 = LocalTime.of(13,21,5);
        System.out.println(t2);


        String s = "5";
        //Character c = new Character(s);//不能传入字符串
        Integer i2 = new Integer("88");
        System.out.println(i2);
        int t = 6;
        System.out.println(Integer.toBinaryString(t));
        int i3 = Integer.parseInt("123");
        System.out.println(i3);

        Boolean b = new Boolean("true");//只要传的不是true，都会返回false
        System.out.println(b);
        boolean b4 = Boolean.parseBoolean("abc");
        System.out.println(b4);
    }
}
